<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <!-- 导入layui -->
  <link rel="stylesheet" href="/big_event-01/assets/lib/layui/css/layui.css">
  <!-- 导入本页面css -->
  <link rel="stylesheet" href="/big_event-01/assets/css/login.css">

</head>


<body>
  <!-- 1. 顶部 log 栏 -->
  <div class="layui-main header">
    <img src="/big_event-01/assets/images/logo.png" alt="">
  </div>

  <!-- 2. 注册登录区域 -->
  <div class="loginAndRegBox">

    <!-- 2.1 标题区 -->
    <div class="header-box"></div>

    <!-- 2.2 登录区 -->
    <div class="login-box">
      <form class="layui-form">
        <!-- 2.2.1 账号框 -->
        <div class="layui-form-item">
          <i class="layui-icon layui-icon-username"></i>
          <input type="text" name="username" placeholder="请输入用户名" autocomplete="off" class="layui-input"
            lay-verify="required|uname">
        </div>
        <!-- 2.2.2 密码款 -->
        <div class="layui-form-item">
          <i class="layui-icon layui-icon-password"></i>
          <input type="password" name="password" placeholder="请输入密码" autocomplete="off" class="layui-input"
            lay-verify="required|pwd">
        </div>
        <!-- 2.2.3 登录按钮 -->
        <div class="layui-form-item">
          <button class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit="" lay-filter="formDemo">登录</button>
        </div>
        <!-- 2.2.4 去注册 -->
        <div class="layui-form-item">
          <a href="javascript:" id="link-reg">去注册账号</a>
        </div>
      </form>
    </div>

    <!-- 2.3 注册区 -->
    <div class="reg-box" style="display: none;">
      <form class="layui-form">
        <!-- 2.2.1 账号框 -->
        <div class="layui-form-item">
          <i class="layui-icon layui-icon-username"></i>
          <input type="text" name="username" placeholder="请输入用户名" autocomplete="off" class="layui-input"
            lay-verify="required|uname">
        </div>
        <!-- 2.2.2 密码款 -->
        <div class="layui-form-item">
          <i class="layui-icon layui-icon-password"></i>
          <input type="password" name="password" placeholder="请输入密码" autocomplete="off" class="layui-input"
            lay-verify="required|pwd">
        </div>
        <!-- 2.2.2 确认密 -->
        <div class="layui-form-item">
          <i class="layui-icon layui-icon-password"></i>
          <input type="password" name="repassword" placeholder="请再次输入密码" autocomplete="off" class="layui-input"
            lay-verify="required|repwd">
        </div>

        <!-- 2.2.3 登录按钮 -->
        <div class="layui-form-item">
          <button class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit="" lay-filter="formDemo">注册</button>
        </div>
        <!-- 2.2.4 去注册 -->
        <div class="layui-form-item">
          <a href="javascript:" id="link-login">去登录</a>
        </div>
      </form>

    </div>

    
    <!-- 导入ajax -->
    <script src="/big_event-01/assets/lib/axios.js"></script>
    <!-- 导入layui.js -->
    <script src="/big_event-01/assets/lib/layui/layui.all.js"></script>
    <!-- 导入 jquery -->
    <script src="/big_event-01/assets/lib/jquery.js"></script>
    <!-- 导入公共js -->
    <script src="/big_event-01/assets/js/common.js"></script>
    <!-- 导入本页本js -->
    <script src="/big_event-01/assets/js/login.js"></script>

  </div>
</body>

</html>